package com.example.demo.pojo;

public class Role {
    private Integer r_id;

    private String r_name;

    private Integer r_state;

    public Integer getR_id() {
        return r_id;
    }

    public void setR_id(Integer r_id) {
        this.r_id = r_id;
    }

    public String getR_name() {
        return r_name;
    }

    public void setR_name(String r_name) {
        this.r_name = r_name == null ? null : r_name.trim();
    }

    public Integer getR_state() {
        return r_state;
    }

    public void setR_state(Integer r_state) {
        this.r_state = r_state;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", r_id=").append(r_id);
        sb.append(", r_name=").append(r_name);
        sb.append(", r_state=").append(r_state);
        sb.append("]");
        return sb.toString();
    }
}